package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.CarFile;
import org.example.domain.CarInfo;

import java.util.List;

@Mapper
public interface CarInfoMapper {
    List<CarInfo> list(CarInfo carInfo);

    List<CarInfo> lists();

    void saveBatch(List<CarInfo> carInfoList);

    boolean add(CarInfo carInfo);

    boolean update(CarInfo carInfo);

    boolean del(Integer carId);

}
